<?php 
class LogoutController extends Controller{
	/**
	 * 退出
	 */
	public function actionIndex(){
		Yii::app ()->user->logout ();
		$this->showSuccess ('退出成功');
	}
}
?>